package com.lbj.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lbj.mall.common.entity.common.spu.SpuSaveVO;
import com.lbj.mall.common.utils.PageUtils;
import com.lbj.mall.product.entity.SpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author libingjun
 * @email 617416791@qq.com
 * @date 2022-03-27 10:44:54
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpu(SpuSaveVO spuSaveVO);

    void insertBaseSPUInfo(SpuInfoEntity spuInfoEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);

    void spuUp(Long spuId);

    SpuInfoEntity getSpuInfoBySkuId(Long skuId);
}

